package com.dingli.entity;

public class UserLevel {
    private  Integer id;
    private  Integer uid;
    private Integer level;
    private Double limit;
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public UserLevel(Integer id, Integer uid, Integer level, Double limit) {
        this.id = id;
        this.uid = uid;
        this.level = level;
        this.limit = limit;
    }

    public UserLevel() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Double getLimit() {
        return limit;
    }

    public void setLimit(Double limit) {
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "UserLevel{" +
                "id=" + id +
                ", uid=" + uid +
                ", level=" + level +
                ", limit=" + limit +
                '}';
    }
}
